package com.kaili.utils.Annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface CheckField {
    String value() default "";

    /**
     * 匹配正则表达式
     *
     * @return
     */
    String regexp() default "";

    /**
     * 数据校验
     *
     * @return
     */
    Class checkHandlerClass() default Void.class;
}
